package com.wushijia.designpatterns.command;

/**
 * description:电灯，命令接受者
 *
 * @author yang
 * @date 2018/1/19 20:25
 */
public class Light {

  public void on() {
    System.out.println("Light is on");
  }

  public void off() {
    System.out.println("Light is off");
  }
}
